<?php

namespace Hui\StoreBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Hui\StoreBundle\Entity\DonHang
 */
class DonHang
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var integer $soDonHang
     */
    private $soDonHang;

    /**
     * @var \DateTime $ngayLap
     */
    private $ngayLap;

    /**
     * @var integer $trangthai
     */
    private $trangthai;

    /**
     * @var Hui\StoreBundle\Entity\NguoiDung
     */
    private $nguoiDung;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set soDonHang
     *
     * @param integer $soDonHang
     * @return DonHang
     */
    public function setSoDonHang($soDonHang)
    {
        $this->soDonHang = $soDonHang;
    
        return $this;
    }

    /**
     * Get soDonHang
     *
     * @return integer 
     */
    public function getSoDonHang()
    {
        return $this->soDonHang;
    }

    /**
     * Set ngayLap
     *
     * @param \DateTime $ngayLap
     * @return DonHang
     */
    public function setNgayLap($ngayLap)
    {
        $this->ngayLap = $ngayLap;
    
        return $this;
    }

    /**
     * Get ngayLap
     *
     * @return \DateTime 
     */
    public function getNgayLap()
    {
        return $this->ngayLap;
    }

    /**
     * Set trangthai
     *
     * @param integer $trangthai
     * @return DonHang
     */
    public function setTrangthai($trangthai)
    {
        $this->trangthai = $trangthai;
    
        return $this;
    }

    /**
     * Get trangthai
     *
     * @return integer 
     */
    public function getTrangthai()
    {
        return $this->trangthai;
    }

    /**
     * Set nguoiDung
     *
     * @param Hui\StoreBundle\Entity\NguoiDung $nguoiDung
     * @return DonHang
     */
    public function setNguoiDung(\Hui\StoreBundle\Entity\NguoiDung $nguoiDung = null)
    {
        $this->nguoiDung = $nguoiDung;
    
        return $this;
    }

    /**
     * Get nguoiDung
     *
     * @return Hui\StoreBundle\Entity\NguoiDung 
     */
    public function getNguoiDung()
    {
        return $this->nguoiDung;
    }
}